<%
  method = locals[:method]
  instance = (method.entity.struct? ? '*' : '') + 'instance'
  arguments = locals[:arguments] || [instance] + JNIHelper.arguments(method.parameters.drop(1))
-%>
TW<%= entity.name %><%= method.name %>(<%= arguments.join(', ') %>)